package ooday02;

public class person {
    String name;
    String address;
    String gender;
    int age;
    person(String name ,String address ,String gender,int age){
        this.name=name;
        this.address=address;
        this.gender=gender;
        this.age=age;
    }
    void eat (){
        System.out.println("叫"+name+"今年"+age+"岁的"+gender+"在"+address+"吃饭");
    }
    void sleep(){
        System.out.println("叫"+name+"今年"+age+"岁的"+gender+"在"+address+"睡瞌睡");
    }
}
